package com.hyt.it.ogt.ks.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import com.hyt.it.ogt.ks.feign.hystrix.CjClientHystrix;
import com.hyt.it.ogt.ks.model.cjvo.MessageInfo;

/**
 * 成绩微服务
 * @author Administrator
 *
 */
@FeignClient(name = "it-ogt-ykcj${cj.tag:}", fallback = CjClientHystrix.class)
public interface CjClient {
	
	/**
	 * 推送考生成绩到成绩系统
	 * @param exchangeCandidate
	 * @return
	 */
	@PostMapping("/exchange/exam/info/saveCandidateInfo")
	public String saveCandidateInfo(MessageInfo messageInfo);
	

}
